package com.book.service;

import com.book.dto.AddressDto;
import com.book.pojo.Address;

import java.util.List;

public interface AddressService {
    Address getAddressById(Integer integer);

    List<AddressDto> getList(String uCode);

    Boolean updateAddress(AddressDto addressDto);

    Integer addAddr(AddressDto addressDto);

    Boolean delete(Integer id);
}
